import Vue from 'vue'
import Router from 'vue-router'
import Home from '../components/home/HelloWorld.vue'

Vue.use(Router)

const routes = [
    {
        path: '/',
        redirect: '/home'
    },
    {
        path: '/home',
        component: Home
    }
]
const router = new Router({
    mode: 'history',
    routes
})

export default router